<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/common.jsp"%>
<%@ include file="/common/taglibs.jsp"%>
<html>
  <head>
   <title>日志查询</title>
   <%@ include file="/common/meta.jsp"%>   
   <link href="<c:url value='/styles/main.css'/>" type="text/css" rel="stylesheet">   
<link href="<c:url value='/widgets/ext/css/ext-all.css'/>" type="text/css" rel="stylesheet">
<script src="<c:url value='/scripts/calendar.js'/>" type="text/javascript"></script>
<script src="<c:url value='/scripts/condition.js'/>" type="text/javascript"></script>
<script src="<%=contextPath%>/widgets/my97datepicker/WdatePicker.js" type="text/javascript"></script>
<script src="<c:url value='/widgets/ext/scripts/ext-base.js'/>" type="text/javascript"></script>
<script src="<c:url value='/widgets/ext/scripts/ext-all.js'/>" type="text/javascript"></script>
<script src="<c:url value='/widgets/ext/scripts/miframe.js'/>" type="text/javascript"></script>
<link href="<c:url value="/widgets/extremecomponents/extremecomponents.css"/>" type="text/css"  rel="stylesheet"/>
<script type="text/javascript">
  	
  	function showOperator(id){
  		openPop("operator.do?method=watch&id="+id,"查看用户信息",480,320); 	
  	}
  	
  
</script>
</head>
 <body bgcolor="#F2FEF4">
		<div id="detailheader">
			<img src="<%=request.getContextPath()%>/images/main/main_ban01Dot.png" />
			<div>日志查询</div>
		</div>
		<html:form action="opLog.do?method=search" method="get">
			<div id="timecote">	
				<div id="timel"></div>			
				<div id="timem">
					<table cellspacing="5px">
						<tr>
							<td>开始日期:<img id="" src="<%=request.getContextPath()%>/images/cal/left2.gif" onclick="leftDate($('opLogPo.startDate'));"/><html:text property="opLogPo.startDate" styleClass="Wdate" onfocus="new WdatePicker(this, dateShowFormat, false, 'whyGreen')"/><img id="" src="<%=request.getContextPath()%>/images/cal/right2.gif" onclick="rightDate($('opLogPo.startDate'));"/></td>
							<td>结束日期:<img id="" src="<%=request.getContextPath()%>/images/cal/left2.gif" onclick="leftDate($('opLogPo.endDate'));"/><html:text property="opLogPo.endDate" styleClass="Wdate" onfocus="new WdatePicker(this, dateShowFormat, false, 'whyGreen')"/><img id="" src="<%=request.getContextPath()%>/images/cal/right2.gif" onclick="rightDate($('opLogPo.endDate'));"/></td>
							<td align="left">登录ID:<html:text property="opLogPo.loginId" /></td>
							<td align="left">操作员名称:<html:text property="opLogPo.opName" /></td>
							<td align="left">功能号:<html:text property="opLogPo.funcCode" /></td>
							<td align="left"><html:submit styleClass="btn_Xp_Bg0" value="查询" /></td>							
						</tr>
					</table>
				</div>
				<div id="timer"></div>
			</div>
			<div style="text-align:right;padding:5px">
			</div>
			<div id="tbcontent">
				<ec:table items="resultList" var="rs" form="opLogForm"
					action="${pageContext.request.contextPath}/opLog.do?method=search"
					title="日志信息" retrieveRowsCallback="limit"
					sortRowsCallback="limit" width="95%">
					<ec:row>
						<ec:column property="0" title="登录ID">
							<c:out value="${rs[1].opId}" />
						</ec:column>
						<ec:column property="1" title="操作员名称">
							<a href="#"  onclick="showOperator(<c:out value="${rs[0].opId}" />);return false"><c:out value="${rs[1].opName}" /></a>  
						</ec:column>
						<ec:column property="2" title="功能号">
							<c:out value="${rs[0].funcCode}" />
						</ec:column>	
						<ec:column property="3" title="操作内容">
							<c:out value="${rs[0].content}" />
						</ec:column>						
						<ec:column property="4" title="操作时间">
							<c:out value="${rs[0].opDatetime}" />
						</ec:column>
					</ec:row>
				</ec:table>
			</div>
		</html:form>		
	</body>
</html>
